<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>{% block title %}{% endblock %}</title>
		<link href="{{url_for('static',filename='css/admin-base.css')}}" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="{{url_for('static',filename='js/jquery.js')}}"></script>
		{% block head%}{%endblock%}
	</head>
	<body>
		{% block top%}<div id="topbar">管理首页 <a href="{{url_for("BlogView.index")}}">退出</a></div>{% endblock%}
		<div class="clearfix">
		<div id="left">{% block left%}
			<div class="cmenu">
				<div>日志管理</div>
				<ul>
					<li><a href='{{url_for('article_add')}}'>添加日志</a></li>
					<li>草稿</li>
					<li>全部日志</li>
					<li>回收站</li>
				</ul>
			</div>
			<div class="cmenu">
				<div>类别管理</div>
				<ul>
					<li><a href='{{url_for('categories_add')}}'>添加类别</a></li>
					<li><a href='{{url_for('categories_list')}}'>全部类别</a></li>
				</ul>
			</div>
			<div class="cmenu">
				<div>Tag管理</div>
				<ul>
					<li>添加Tag</li>
					<li><a href='{{url_for('tag_list')}}'>全部Tag</a></li>
				</ul>
			</div>
			<div class="cmenu">
				<div>模块管理</div>
				<ul>
					<li>安装模块</li>
					<li>全部模块</li>
				</ul>
			</div>
			<div class="cmenu">
				<div>系统设置</div>
				<ul>
					<li><a href="{{url_for("config")}}">网站配置</a></li>
					<li><a href="#">关于</a></li>
				</ul>
			</div>{% endblock%}
		</div>
		<div id="right">{% block right%}a{% endblock%}</div>
		</div>
		<div id="bottom">
		{% block bottom%}d{% endblock%}
		</div>
	</body>
</html>
